configure: Don't put glib version flags into pc files
authorBenjamin Otte <otte@redhat.com>
Mon, 21 Sep 2015 18:31:03 +0000 (20:31 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 21 Sep 2015 19:58:05 +0000 (21:58 +0200)
Use a different CFLAGS variable to carry them. I chose the DEBUG_FLAGS
because that's essentially what those flags are: debug helpers.

configure.ac

index 2338831b1dc46317618cf19d1af5bfba09faa1ba..b096e2e9b506252f4afb1ad69204e77754603b4c 100644 (file)
@@ -360,7 +360,7 @@ backend_immodules=
 have_gio_unix=no
 GDK_BACKENDS=
 GDK_EXTRA_LIBS=
-GDK_EXTRA_CFLAGS="$GLIB_VERSION_CFLAGS"
+GDK_EXTRA_CFLAGS=
 GDK_WINDOWING=
 PANGO_PACKAGES="pango pangocairo"
 
@@ -500,6 +500,7 @@ else
     GTK_DEBUG_FLAGS="-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"
   fi
 fi
+GTK_DEBUG_FLAGS="$GTK_DEBUG_FLAGS $GLIB_VERSION_CFLAGS"
 
 # Build time sanity check...
 AM_SANITY_CHECK